<script setup lang="ts">
  import southeast from '../assets/southeast.jpg'
  const init = () => {
    const stage = new createjs.Stage('bitmap')
    const bitmap = new createjs.Bitmap(southeast)
    stage.addChild(bitmap)
    createjs.Ticker.setFPS(60)
    createjs.Ticker.addEventListener('tick', stage)
  }
  onMounted(() => {
    nextTick(() => {
      init()
    })
  })
</script>

<template>
  <div>
    fdsfs
    <canvas
      id="bitmap"
      width="1000"
      height="600"
      style="background-color: aqua"
    ></canvas>
  </div>
</template>

<style scoped lang="scss"></style>
